package com.lovvyang.servlet;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author lovvyang
 * @date 2020/6/6-16:44
 */
/*
 * @PackageName:com.lovvyang.servlet
 * @ClassName:ServletDemo01
 * @Description
 * @author lovvyang
 * @date 2020/6/6/16:44
 **/

public class ServletDemo01 implements Servlet {
    @Override
    public void init(ServletConfig servletConfig) throws ServletException {

    }

    @Override
    public ServletConfig getServletConfig() {
        return null;
    }

    @Override
    public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {
        System.out.println("hello servlet!");
    }

    @Override
    public String getServletInfo() {
        return null;
    }

    @Override
    public void destroy() {

    }
}
